package com.linkmed.storage.controller;

import lombok.RequiredArgsConstructor;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;



/**
 * LoginController
 */
@Controller
@RequiredArgsConstructor
public class LoginController  {



    /**
     * 登录页
     */
    @GetMapping("/login")
    public String login() {

        return "login";
    }

    /**
     * 注册页
     */
    @GetMapping("/reg")
    public String reg() {

        return "reg";
    }





}
